package com.example.javademo;

public class Msg {
    private int profile;
    private String nickname;
    private String baseContent;
    private Boolean isLike;

    // 提供构造函数
    public Msg() {
    }

    public Msg(int profile, String nickname, String baseContent, Boolean isLike) {
        this.profile = profile;
        this.nickname = nickname;
        this.baseContent = baseContent;
        this.isLike = isLike;
    }

    public Msg(int today, String 小王, String s) {
    }

    // 提供getter和setter方法
    public int getProfile() {
        return profile;
    }

    public void setProfile(int profile) {
        this.profile = profile;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getBaseContent() {
        return baseContent;
    }

    public Boolean isLike(){
        return isLike;
    }
}